
<%@ page import="modelo.VirtualMachineModel" %>
<html>
   <head>
     <title><g:message code="VirtualMachineModel." args="[entityNamePlural]" /></title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   </head>
   <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

      <script type="text/javascript">
          var hide = function(div) {
          var thisLevel = document.getElementById(div);
          thisLevel.style.display = "none";}     
      </script>
      <div id='status'>Connecting.....</div>
	  <script type="text/javascript">hide('status');</script>
	  <applet code="VncViewer.class" archive="/nuvi/vncviewer/tightvncviewer.jar" width="100%" height="100%">
          <param name="HOST" value="${hostInstance}">
          <param name="PORT" value="${fieldValue(bean: virtualMachineInstance, field: "vncPort")}">
      </applet>
      <iframe name="console_session" src="?id=491&update=true" width="0px" height="0px" frameborder="0"></iframe>
    </body>
</html>